package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @ExperienceGoods
 * @体验众测(experience_goods)
 * @version : Ver 1.0
 */
@TableName("experience_goods")
public class ExperienceGoods implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:体验众测id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:
	 * @字段:pic_url text(55)
	 */
	private java.lang.String picUrl;


	/**
	 * @备注:标题
	 * @字段:title VARCHAR(11)
	 */
	private java.lang.String title;


	/**
	 * @备注:商品id
	 * @字段:goods_id BIGINT(19)
	 */
	private java.lang.Long goodsId;
	/**
	 * @备注:是否首页显示 1是0否
	 * @字段:is_home int(4)
	 */
	private Integer isHome;

	/**
	 * @备注:雅币
	 * @字段:price double(4)
	 */
	private Double price;

	/**
	 * @备注:数量
	 * @字段:num int(4)
	 */
	private Integer num;

	/**
	 * @备注:1正常2已抢完
	 * @字段:status INT(10)
	 */
	private Integer status;


	@TableField(exist = false)
	private Goods goods;

	public ExperienceGoods(){
	}

	public ExperienceGoods(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setPicUrl(java.lang.String picUrl) {
		this.picUrl = picUrl;
	}

	public java.lang.String getPicUrl() {
		return this.picUrl;
	}


	public void setTitle(java.lang.String title) {
		this.title = title;
	}

	public java.lang.String getTitle() {
		return this.title;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public void setGoodsId(java.lang.Long goodsId) {
		this.goodsId = goodsId;
	}

	public java.lang.Long getGoodsId() {
		return this.goodsId;
	}

	public void setIsHome(Integer isHome){ this.isHome = isHome;}

	public Integer getIsHome(){ return this.isHome;}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
